﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:System="clr-namespace:System;assembly=mscorlib"
	mc:Ignorable="d"
	x:Class="Coding4Fun.Chair.Cockpit.Controls.WheelPowerMeter"
	x:Name="UserControl"
	Width="36" Margin="3">

	<UserControl.Resources>
		<System:Double x:Key="PowerNubHeight">13</System:Double>
		<Thickness x:Key="PowerNubMargin">0,0,0,1</Thickness>
		<System:Double x:Key="PowerNubRadius">2</System:Double>
		<Color x:Key="PowerNubDimColor">#FF666666</Color>
	</UserControl.Resources>
	<UserControl.Effect>
		<BlurEffect Radius="1"/>
	</UserControl.Effect>

    <StackPanel x:Name="LayoutRoot">
		<Rectangle x:Name="uxPowerPlus3" Fill="#FF00AA01" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}" Opacity="1"/>
		<Rectangle x:Name="uxPowerPlus2" Fill="#FF3FE426" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}" Opacity="1"/>
		<Rectangle x:Name="uxPowerPlus1" Fill="#FFA6E789" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}" Opacity="1"/>
		<Rectangle x:Name="uxPowerZero" Fill="White" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}"/>
		<Rectangle x:Name="uxPowerMinus1" Fill="#FFFEA4A4" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}" Opacity="1"/>
		<Rectangle x:Name="uxPowerMinus2" Fill="#FFFF5152" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}" Opacity="1"/>
		<Rectangle x:Name="uxPowerMinus3" Fill="#FFD60000" Height="{DynamicResource PowerNubHeight}" RadiusX="{DynamicResource PowerNubRadius}" RadiusY="{DynamicResource PowerNubRadius}" Margin="{DynamicResource PowerNubMargin}" Opacity="1"/>
    </StackPanel>
</UserControl>